package com.yimi.yinhepda.entity.bean;

import android.support.annotation.NonNull;

/**
 * @author: lj
 * Date: 2019/7/4 15:43
 * Description: 下一站实体类
 */
public class NextDeptEntity implements Comparable {
    /**
     * 任务号
     */
    private String taskNo;
    /**
     * 车型
     */
    private String carModel;
    /**
     * 司机姓名
     */
    private String driverName;
    /**
     * 司机电话
     */
    private String driverPhone;
    /**
     * 司机编码
     */
    private String driverCode;
    /**
     * 供应商
     */
    private String g7SupplierName;
    /**
     * 始发站
     */
    private String startcode;
    /**
     * 途径站
     */
    private String passcode;
    /**
     * 目的站
     */
    private String endcode;
    /**
     * 电话
     */
    private String phone;
    /**
     * 预计到车时间
     */
    private String planArriveTime;
    /**
     * 发车时间
     */
    private String planStartTime;
    /**
     * 车次
     */
    private String shift;
    /**
     * 班次
     */
    private String scheduleNo;
    /**
     * 车牌号
     */
    private String carNo;
    /**
     * 部门编码
     */
    private String nextDeptCode;
    /**
     * 部门名称
     */
    private String nextDeptName;
    /**
     * 支线(自有运力)
     */
    private String useType;
    /**
     * 1-优速，2-快运
     */
    private int ucDeptType;
    /**
     * 优速网点类型：21-中心，30-网点，40-承包区
     */
    private int orgType;

    public int getOrgType() {
        return orgType;
    }

    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }

    public int getUcDeptType() {
        return ucDeptType;
    }

    public void setUcDeptType(int ucDeptType) {
        this.ucDeptType = ucDeptType;
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public String getDriverCode() {
        return driverCode;
    }

    public void setDriverCode(String driverCode) {
        this.driverCode = driverCode;
    }

    public String getG7SupplierName() {
        return g7SupplierName;
    }

    public void setG7SupplierName(String g7SupplierName) {
        this.g7SupplierName = g7SupplierName;
    }

    public String getStartcode() {
        return startcode;
    }

    public void setStartcode(String startcode) {
        this.startcode = startcode;
    }

    public String getPasscode() {
        return passcode;
    }

    public void setPasscode(String passcode) {
        this.passcode = passcode;
    }

    public String getEndcode() {
        return endcode;
    }

    public void setEndcode(String endcode) {
        this.endcode = endcode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPlanArriveTime() {
        return planArriveTime;
    }

    public void setPlanArriveTime(String planArriveTime) {
        this.planArriveTime = planArriveTime;
    }

    public String getShift() {
        return shift;
    }

    public void setShift(String shift) {
        this.shift = shift;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getScheduleNo() {
        return scheduleNo;
    }

    public void setScheduleNo(String scheduleNo) {
        this.scheduleNo = scheduleNo;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getPlanStartTime() {
        return planStartTime;
    }

    public void setPlanStartTime(String planStartTime) {
        this.planStartTime = planStartTime;
    }

    public String getNextDeptCode() {
        return nextDeptCode;
    }

    public void setNextDeptCode(String nextDeptCode) {
        this.nextDeptCode = nextDeptCode;
    }

    public String getNextDeptName() {
        return nextDeptName;
    }

    public void setNextDeptName(String nextDeptName) {
        this.nextDeptName = nextDeptName;
    }

    @Override
    public int compareTo(@NonNull Object o) {
        return ((NextDeptEntity) o).getPlanStartTime().compareTo(this.getPlanStartTime());
    }
}
